import java.awt.Graphics;
import java.awt.event;

public class Signal implements MouseListener
{

    public Image l;

    public Signal ()
    {
        addMouseListener(this);
        ImageIcon pic = new ImageIcon(getClass().getResource("./light.png"));
        l = pic.getImage();
    }
    
    public void mousePressed(MouseEvent e)
    {
        dbl = true;
    }
    public void mouseReleased(MouseEvent e){
        dbl = false;
    }
    public void mouseClicked(MouseEvent e){}
    public void mouseEntered(MouseEvent e){}
    public void mouseExited(MouseEvent e){}

}
